package com.tarena.lbs.user.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("后台用户响应结果")
@FieldDefaults(level = AccessLevel.PRIVATE)
public class AdminVO implements Serializable {

    Integer id;

    @Schema(description  = "账户类型",example = "1平台2商家")
    Integer accountType;

    @Schema(description  = "商家ID")
    Integer businessId;

    @Schema(description  = "手机号")
    String accountPhone;

    @Schema(description  = "密码")
    String accountPassword;

    @Schema(description  = "用户名")
    String nickname;

    @Schema(description  = "邮箱")
    String email;

    @Schema(description  = "账号状态")
    Integer accountStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date createTime;
}